dir=/data/pmc_pdf
date "+%Y%m%d_%T start worklist $1$2"
mkdir -p $dir/$1$2
cd $dir/$1$2
wget -q -r -np -nd ftp://ftp.ncbi.nlm.nih.gov/pub/pmc/$1/$2
sleep 2
cd $dir
tar czf $1$2.tar.gz $1$2
sleep 2
rm -rf $1$2
md5sum $1$2.tar.gz >$1$2.tar.gz.md5
sleep 2
mv $1$2.tar.gz $1$2.tar.gz.complete
date "+%Y%m%d_%T end   worklist $1$2"
